VT-d: section placement and type adjustments
authorJan Beulich <jbeulich@suse.com>
Tue, 13 Oct 2015 15:17:16 +0000 (17:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Oct 2015 15:17:16 +0000 (17:17 +0200)
commit245a0cc2ba7559942424b8b4fcc16bfbcf83a964
treeec9276a394b9ef910dab727c1b5c62373f0c3e1e
parent6851e979874ebc05d270ea94360c49d920d3eaf4
VT-d: section placement and type adjustments

With x2APIC requiring iommu_supports_eim() to return true, we can
adjust a few conditonals such that both it and
platform_supports_x2apic() can be marked __init. For the latter as
well as for platform_supports_intremap() also change the return types
to bool_t.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Yang Zhang <yang.z.zhang@intel.com>
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c